<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>报备项目列表  <{$smarty.const.WEB_NAME}></title>
	<link rel="stylesheet" type="text/css" href="./skin/<{$smarty.const.TPL_NAME}>/style.css" />
	<script type="text/javascript" src="./skin/<{$smarty.const.TPL_NAME}>/comm.js">	</script>
	<style type="text/css">   #tableList th{  padding:0; } #tableList td {padding:auto 0;text-indent:0.2em; }</style>  
 </head>
 <body>
     
	 
		<table width="100%" border="1" cellspacing="0" bordercolor="#cfcfcd" cellpadding="0" class="tableList tip_bug">
		  <tr> 
			<th class="h1">报备项目列表</th>
			<th width="200"><a href="?q=addReportedInfo">添加报备项目</a></th>
			<th width="250">
			关键字
			<input type="text" class="search_text" id="title"  /> 
			<input type="hidden" name="typeName" id="typeId" value="title" />
			<input type="button" class="search_btn" onclick="searchSubmit()" /><input type="button" class="search_select" onclick="$('searchMenu').style.display = 'block'" />
			 <div class="search_menu" id="searchMenu" style="display:none">
			   <dl>
			     <dd class="border" style="font-weight:600" onclick="searchMenu(this , 'title')">标题</dd>
			     <dd onclick="searchMenu(this , 'unit')">最终用户</dd>
			   </dl>
			 </div>
			</th>
		  </tr>
		</table>
	   <table width="100%" border="1" cellspacing="0" bordercolor="#cfcfcd" cellpadding="3" id="tableList">
              
		 <tr class="tit">
           <th width="40" align="center">状态</th>
		   <th width="80">录入员</th>
           <th width="300" align="center">名称</th>
           <th width="160" align="center">类型</th>
           <th width="70" align="center">规模</th>
           <th width="127" align="center">创建时间</th>
		   <th align="center">操作</th>
         </tr>

        <{section name=list loop=$reportedList}>
		 <tr>
		    <td class="state_<{$reportedList[list].isOver}>" title="已过<{$reportedList[list].tip}>">&nbsp;</td>
			<td><{$reportedList[list].name}></td>

		    <td><a href="?q=reportDetails/<{$reportedList[list].id}>" title="最终用户：<{$reportedList[list].unit}>"><{$reportedList[list].title}></a></td>
		    <td nowrap><{$reportedList[list].resourceName}></td>
		    <td><{$reportedList[list].scale}></td>
		    <td width="127" ><{$reportedList[list].recordTime|date_format:"%Y-%m-%d %H:%M:%S"}></td>			
			<td>
			  <{if $reportedList[list].isOver == 2}><a href="?q=editReportedInfo/<{$reportedList[list].id}>">修改</a><{else}><span class="state_1">修改</span><{/if}>
			  <{if $smarty.session.type == 2}><a href="#" onclick="deleteArticle('?q=removeReportedData/<{$reportedList[list].id}>')">删除</a><{/if}>			  
			</td>
			
		 </tr>
        <{/section}>

		 <tr class="dedaultPage">
		   <td colspan="7" align="center" style="padding:0">
	         <{$pageInfo}>
		   </td>
		 </tr>
       </table>




<script type="text/javascript">
<!--
function showWindow(id){
var str= showModalDialog('index.php?q=viewAssign/'+id,'widnow','dialogHeight: 250px; dialogWidth:220px');
}
//-->
</script>
 </body>
</html>
